package com.it;

public class OverrideDemo {
    public static void main(String[] args) {
        Student student = new Student("zg", 18, "安徽", "java0328", "001");
        student.sayHi();//这里调用的是重写后的方法
    }
}
